import request from '@/utils/request'
export const reqPositioning = (sign) => request({
  url: '/sign/positioning',
  method: 'post',
  data: sign
})

// 管理员获取所有评论列表
export const reqmessageByPage = (pageParams, comment) => request({
  url: '/sign/messageByPage',
  method: 'post',
  data: {
    page: pageParams.page,
    pageSize: pageParams.pageSize,
    username: comment.username,
    location: comment.location,
    comments: comment.comments
  }
})
// 更新打卡评论字段
export const reqUpdateMessage = (sign) => request({
  url: '/sign/updateMessage',
  method: 'post',
  data: sign
})
// 物理删除打卡评论字段
export const reqdeleteById = (sign) => request({
  url: '/sign/deleteById',
  method: 'post',
  data: sign
})

